package com.baosight.risk.common.constant;

public interface WorkflowConstant {

    /**
     * 系统定时任务启动
     */
    String DEFALT_STARTER = "admin";

    /**
     * 流程开始节点
     */
    String PROCESS_START = "Start";

    /**
     * 流程人工活动节点
     */
    String PROCESS_MANUAL = "Manual";

    /**
     * 流程条件分支节点
     */
    String PROCESS_INCLUSIVEGATEWAY = "InclusiveGateway";

    /**
     * 流程结束节点
     */
    String PROCESS_END = "End";

    /**
     * 流程条件分支-绿色通道网关
     */
    String PROCESS_SUBMITPATH = "submitPath";

    /**
     * 流程转移规则，按名称
     */
    String PROCESS_TRANSITION_BYNAME = "ByName";

    /**
     * 流程转移规则，按名称
     */
    String PROCESS_TRANSITION_BYRULE = "ByRule";

    /**
     * activity开始节点
     */
    String NODETYPE_START = "startEvent";

    /**
     * activity人工活动节点
     */
    String NODETYPE_USERTASK = "userTask";

    /**
     * activity结束节点
     */
    String NODETYPE_END = "endEvent";

    /**
     * 流程定义编码
     */
    String PROCESS_DEFINITION_ID = "processDefinitionId";

    /**
     * 流程定义编码
     */
    String PROCESS_DEFINITION_KEY = "processDefinitionKey";

    /**
     * 流程实例id
     */
    String PROCESS_INSTANCE_ID = "processInstanceId";

    /**
     * 任务id
     */
    String TASK_ID = "taskId";

    /**
     * 当前节点编码
     */
    String CURRENT_NODE_KEY = "currentNodeKey";

    /**
     * 审核通过
     */
    String APPROVAL = "同意";

    /**
     * 审核不通过
     */
    String DISAPPROVAL = "不同意";

    /**
     * 撤回
     */
    String CANCEL = "撤回";

    /**
     * 启动流程操作
     */
    String OPERATION_START = "start";

    /**
     * 提交操作
     */
    String OPERATION_SUBMIT = "submit";

    /**
     * 退回操作
     */
    String OPERATION_RETURN = "return";

    /**
     * 审计结果-启动流程
     */
    String COMMENT_START = "启动流程";

    /**
     * 审计结果-结束流程
     */
    String COMMENT_FINISH = "结束流程";

    /**
     * 审计结果-提交
     */
    String COMMENT_SUBMIT = "提交";

    /**
     * 审计结果-驳回
     */
    String COMMENT_REJECT = "退回";

    /**
     * 审计结果-撤回
     */
    String COMMENT_CANCEL = "撤回";

    /**
     * 审计结果-移交
     */
    String COMMENT_REASSIGN = "移交";


}
